package com.sunday.study.aspectJ.generic;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Collection;

@Slf4j
@Component
public class SampleImpl<T> implements Sample<T>{

    @Override
    public void sampleGenericMethod(T param) {
        log.info("{}",param);
    }

    @Override
    public void sampleGenericCollectionMethod(Collection<T> param) {
        log.info("{}",param);
    }
}
